cd bin
myClientService.exe //IS//MyClientService --Install=.\myClientService.exe --Description="My Java Service" --Jvm=auto --Classpath=. --StartMode=jvm --StartClass=serviceModel.ServiceOSListener --StartMethod=windowsService --StartParams=start --StopMode=jvm --StopClass=serviceModel.ServiceOSListener --StopMethod=windowsService --StopParams=stop --LogPath=..\logs --StdOutput=auto --StdError=auto

myClientServicew//MS//